﻿#region Header
// ------------------------ Licence / Copyright ------------------------
// 
// ScrumTable for Scrum Meeting Support
// Copyright © HSR - Hochschule für Technik Rapperswil
// All Rights Reserved
// 
// Author:
//  Michael Gfeller Silvan Gehrig Patrick Boos
// 
// ---------------------------------------------------------------------
#endregion

#region Usings

using System;

#endregion 

namespace ScrumTable.Common
{

    /// <summary>
    /// Defines a method to release allocated resources.
    /// </summary>
    public interface IDisposableObject : IDisposable
    {
        #region Properties
        //--------------------------------------------------------------------
        // Properties
        //--------------------------------------------------------------------

        /// <summary>
        /// Returns true, if the current context has been disposed.
        /// </summary>
        bool IsDisposed { get; }

        /// <summary>
        /// Returns true, if the current context is beeing disposed or it
        /// is disposed.
        /// </summary>
        bool IsDisposing { get;  }

        #endregion

        #region Methods
        //--------------------------------------------------------------------
        // Methods
        //--------------------------------------------------------------------

        #endregion

        #region Events
        //--------------------------------------------------------------------
        // Events
        //--------------------------------------------------------------------

        #endregion
    }
}